\chapter{System Definition}
\label{sec:systemDef}
\label{chap:systemDef}
Based on our \nameref{sec:problemDef}, \nameref{sec:initialAnalysis}, and \nameref{chap:relatedwork}, we define the system that we develop in this project, \system{}, as follows:
%Based on Sections \vref{sec:problemDef}, \vref{sec:initialAnalysis}, and \vref{chap:relatedwork}, we define the system that we develop in this project, \system{}, as follows:

\sharedInput{system_definition}

Since \system{} is an extension it adds functionality without changing existing functionality.


\section{Decomposing \system}
\label{sub:decomposingSys}
Since the project is large it is decomposed into sub-projects.
This is due to the educational context in which the project is being conducted.
The educational context requires us to work as one large group divided into four \subgroup{}s.

Each \subgroup{} will have its own dedicated project, of which the goal is to make a part of \system{}.
The parts from each \subgroup{} will be integrated with each other, and the development process and results of each part will be documented in the corresponding \subgroup{}'s report~\cite{sw6studieordning}.

The final system, as defined above, should enable PBL in Moodle.
We will divide the system into \subsystem{}s to ensure that we cover the core principles of the Aalborg PBL model as defined in Section \ref{sub:aaupbl}.
The core principles we find relevant to this project are:

\begin{itemize}
    \item Project organization
    \item Participant direction
    \item Team-based approach
    \item Collaboration and feedback
\end{itemize}

These principles are important for \system{}, and must be considered in each \subsystem{}.
However, each \subsystem{} prioritizes the core principles differently.
Notice that two of the core principles are not considered.
The core principles, problem orientation and integration of theory and practice, are important concepts, but we do not believe that we can cover these in an LMS.
These must be covered by the students themselves with guidance from their supervisor.

There are several ways to decompose \system{} to integrate the core principles of the Aalborg PBL model in Moodle. 
To support the principles of project organization and team-based approach we decide to implement the concept of project groups in Moodle.
One \subsystem{}, called \administrationgroup{}, implements this concept.
To implement collaboration and feedback we need a tool for planning, collaboration between the members, and communication with the supervisor(s). 
The principle of participant direction is implemented in general by all parts. 

Each \subsystem{} is described in the following sections.

\subsection{\administrationgroup{}} %adm
\label{sec:admgroupdecom}
A project group is a team of students working on a project.
It should be possible for students and their supervisors to work together on a project.
It should be possible to create and manage project groups in a simple and intuitive manner.
The nearness request made by the MPBL department in Section~\ref{sub:mpblInterview} should be satisfied in this \subsystem{} by giving participants of a project a virtual meeting place.

\subsection{\timelinegroup{}} %timeline
\label{sec:tmlgroupdecom}
The students can plan the way they want to organize their projects themselves.
This \subsystem{} is responsible for allowing students to make a schedule for a project and assign tasks to each other.
A student that is participating in several projects concurrently should be able to get a collective overview of his schedule.
This also corresponds to the request made by ELSA to allow sharing of data described in Section~\ref{sub:elsaInterview}, along with the planning request made by MPBL department in Section~\ref{sub:mpblInterview}.

\subsection{\blackboardgroup{}} %blackboard
During a project, the participants must be able to collaborate regardless of geographic location.
The collaboration must be efficient such that deadlines are met and progress is made.
In Section~\ref{sub:mpblInterview} MPBL describes that they would like to have better collaboration between students in Moodle.

\subsection{\supervisorgroup{}} %supervisor
\label{sub:supervisorPluginDescription}
The participants must be able to communicate with, and receive feedback from, their supervisor.
This \subsystem{} should accommodate the MBPL departments requests for collaboration and planning described in \ref{sub:elsaInterview}


